package com.yuyou.tas.terminal.vo.ReqMU;

import com.yuyou.tas.terminal.vo.ReqMTBase;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

public class FeedbackClassReqVo extends ReqMTBase {
    @NotNull(message="pageIndex不能为空")
    @Min(value = 0, message = "pageIndex必须大于0")
    @ApiModelProperty(value = "当前页", required = true)
    private Integer pageIndex;

    @NotNull(message="pageSize不能为空")
    @Min(value = 0, message = "pageSize必须大于0")
    @ApiModelProperty(value = "每页最大", required = true)
    private Integer pageSize;


    @ApiModelProperty(example = "classId")
    @NotNull(message = "班级ID不能为空")
    private Long classId;

    public Integer getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Integer pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getClassId() {
        return classId;
    }

    public void setClassId(Long classId) {
        this.classId = classId;
    }
}
